package com.tsd.core.excel.impexcel;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Excel文件读取得到的对象
 *
 * @author wudw
 */
public class ExcelObject<T> implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1339934976606197339L;

    /**
     * 存在错误的行，行号是key，value是具体的出错信息
     */
    private Map<String, String> rowError;
    private List<Integer> emptyRows;
    private List<T> list;
    private List<ExcelFileTitle> excelFileTitles;


    public Map<String, String> getRowError() {
        return rowError;
    }

    public void setRowError(Map<String, String> rowError) {
        this.rowError = rowError;
    }

    public List<Integer> getEmptyRows() {
        return emptyRows;
    }

    public void setEmptyRows(List<Integer> emptyRows) {
        this.emptyRows = emptyRows;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public List<ExcelFileTitle> getExcelFileTitles() {
        return excelFileTitles;
    }

    public void setExcelFileTitles(List<ExcelFileTitle> excelFileTitles) {
        this.excelFileTitles = excelFileTitles;
    }

}
